package palindrome;

import java.util.ArrayList;
import java.util.List;

public class Main {

    public static void main(String[] args) {
        System.out.println("Enter text string:");
        String str = Reader.readFromConsole();
        Palindrome pal = new Palindrome(str);
        List<String> res = pal.getPalindroms();
        System.out.println();
        System.out.println("Results:");
        Printer.printStringList(res);
    }
}
